How do I add functionality to the html I render in express